<#include "/freemarker/frame.ftl"> 
<@frame title="员工资料">


    <!-- Graphs Box Start -->
        <div class="contentcontainer" id="tabs">
        <!--
        <script type="text/javascript" src="/SSH/mgr/staff/staffValidator.js"></script>
         -->
        <@s.form action="addStaff" method="post" namespace="/mgr" theme="simple">
        	
            <div class="headings altheading" >
                <h2 class="left">员工新增</h2>
                <ul class="smltabs">
                	<li><a href="#controlTable-1">基本信息</a></li>
                    <li><a href="#controlTable-2">就职信息</a></li>
                    <li><a href="#controlTable-3">居住信息</a></li>
                    <li><a href="#controlTable-4">计生信息</a></li>
                    <li><a href="#controlTable-5">随同儿童信息</a></li>
                    <li><a href="#controlTable-6">备注</a></li>
                </ul>
            </div>
            <div class="contentbox" id="controlTable-1">
            
				  <div style="width:950px;height:300px">
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.name" label="姓名"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="true" name="staff.otherName1" label="别名"></@component.textfield>
					<@component.textfield cssClass="inputbox validate[required,funcCall[validate.isCardID]" nullable="false" name="staff.identityNo" label="身份证号"></@component.textfield>
					<@component.datepicker cssClass="inputbox validate[required,custom[date]]" 
						nullable="false" id="birthday_date" 
						name="staff.birthday" label="出生日期"> </@component.datepicker>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.sex" label="性别"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.folkCode" label="民族"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.marriage" label="婚姻状况"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.educateGradeCode" label="文化程度"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.politicalAffiliationCode" label="政治面貌"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.religionCode" label="宗教信仰"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.householdCode" label="户口省县"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.householdAddress" label="户口详址"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.localNativeCode" label="现居住地"></@component.textfield>
					<@component.popSelect cssClass="validate[required] inputbox smallbox" id="pcs" tip="点击选择" readOnly="true"
						parameter='{"title":"所属辖区派出所","src":"mgr/sys/pop_list_param?paraType=pcsdm","width":700,"height":350}'
					 name="staff.pcs.id" label="所属辖区派出所"></@component.popSelect>					
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.localNativeAddress" label="现住地详址"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.phone" label="联系电话"></@component.textfield>
					<@component.textfield cssClass="inputbox" nullable="false" name="staff.oldHomePhone" label="老家电话"></@component.textfield>
					</div>
					<div class="clear" style="clear:both"></div>
					
            </div>
            <div class="contentbox nopad" id="controlTable-2">
            		<div style="width:950px;height:300px">
            		<@component.popSelect cssClass="validate[required] inputbox smallbox" id="sjbm" tip="" readOnly="true"
						parameter='{"title":"部门选择","src":"mgr/enterprise/pop_dept_tree","width":350,"height":350}'
					 name="parent.code" fieldName="parent.name" label="归属部门"></@component.popSelect>
					</div>
					<div class="clear" style="clear:both"></div>
            </div>
            <div class="contentbox nopad" id="controlTable-3">
					<div style="width:950px;height:300px">
					</div>
					<div class="clear" style="clear:both"></div>
            </div>
            <div class="contentbox nopad" id="controlTable-4">
					<div style="width:950px;height:300px">
					</div>
					<div class="clear" style="clear:both"></div>
            </div>
            
            <div class="extrabottom" style="text-align: right ">	
					<@s.submit cssClass="btn" label="提交"></@s.submit>
					</div>
            </@s.form>
            
        </div>
       
       
</@frame>